<?php

  setlocale(LC_CTYPE, "ru_RU.UFT-8");
  setlocale(LC_COLLATE, "ru_RU.UTF-8");
  setlocale(LC_TIME, "ru_RU.UTF-8");

  define("DOCUMENT_ROOT", dirname(dirname(__FILE__)));
  define("HOME_PATH", dirname(DOCUMENT_ROOT));

  set_include_path(implode(PATH_SEPARATOR, array(
    realpath("."), 
    implode(DIRECTORY_SEPARATOR, array(DOCUMENT_ROOT, 'library')), 
    implode(DIRECTORY_SEPARATOR, array(HOME_PATH, 'library')), 
    get_include_path()
  )));
/*
  require_once "FB.php";

  FB::setEnabled(true);
  $a = array(
    "a" => "b"
  );
  FB::dump("11", $a);
  FB::log("111");
  FB::trace("qqq");
*/
  require_once 'JooS/PHPUnit/AllTests.php';

  echo "<pre>";
  JooS_PHPUnit_AllTests::main("JooS", array(
    'verbose' => true
  ));
  echo "</pre>";

?>